package cn.edu.sdjzu.knoverse.model.dto.system.user;

import cn.edu.sdjzu.knoverse.constant.UserConstant;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Excel导入用户DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@HeadRowHeight(20)
@ContentRowHeight(18)
@Schema(name = "UserImportExcelDto", title = "Excel用户导入", description = "Excel用户导入")
public class UserImportExcelDto {
    
    @ExcelProperty("用户名")
    @ColumnWidth(15)
    private String username;
    
    @ExcelProperty("昵称")
    @ColumnWidth(15)
    private String nickname;
    
    @ExcelProperty("邮箱")
    @ColumnWidth(20)
    private String email;
    
    @ExcelProperty("手机号")
    @ColumnWidth(15)
    private String phone;
    
    @ExcelProperty("密码")
    @ColumnWidth(15)
    private String password;
    
    @ExcelProperty("性别")
    @ColumnWidth(10)
    private String sex;
    
    @ExcelProperty("个人描述")
    @ColumnWidth(30)
    private String summary;
    
    // 状态字段，Excel中可以是"启用"或"禁用"
    @ExcelProperty("状态")
    @ColumnWidth(10)
    private String status;
} 